export enum ProtocolType {
  TCP = "TCP",
  RTU = "RTU",
  RTU_OVER_TCP = "RTU_OVER_TCP",
}

export const ProtocolTypeList = Object.keys(ProtocolType).filter(
  (key) => isNaN(Number(key)) // 过滤掉数字键（反向映射）
) as Array<keyof typeof ProtocolType>;
